Part Number Hot Search : 
1000FT LINEAR P312H AD82586 L3310ECA ISL28470 25MHZ RTF5020
Product Description
Full Text Search
 

To Download TC664 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? 2002 microchip technology inc. ds21737a-page 1 m TC664/tc665 features ? temperature proportional fan speed for reduced acoustic noise and longer fan life ? fansense? protects against fan failure and eliminates the need for 3-wire fans ? over temperature detection (tc665) ? efficient pwm fan drive ? provides rpm data ? 2-wire smbus?-compatible interface ? supports any fan voltage ? software controlled shutdown mode for "green" systems ? supports low cost ntc/ptc thermistors ? space saving 10-pin msop package ? temperature range: -40c to +85oc applications ? personal computers & servers ? lcd projectors ? datacom & telecom equipment ? fan trays ? file servers ? workstations ? general purpose fan speed control package type description the TC664/tc665 devices are pwm mode fan speed controllers with fansense technology for use with brushless dc fans. these devices implement temper- ature proportional fan speed control which lowers acoustic fan noise and increases fan life. the voltage at v in (pin 1) represents temperature and is typically provided by an external thermistor or voltage output temperature sensor. the pwm output (v out ) is adjusted between 30% and 100%, based on the volt- age at v in . the pwm duty cycle can also be pro- grammed via smbus to allow fan speed control without the need for an external thermistor. if v in is not con- nected, the TC664/tc665 will start driving the fan at a default duty cycle of 39.33%. see section 4.3, "fan startup", for more details). in normal fan operation, a pulse train is present at the sense pin (pin 8). the TC664/tc665 use these pulses to calculate the fan revolutions per minute (rpm). the fan rpm data is used to detect a worn out, stalled, open or unconnected fan. an rpm level below the user-programmable threshold causes the TC664/ tc665 to assert a logic low alert signal (fault ). the default threshold value is 500 rpm. also, if this condi- tion occurs, ff (bit 0<0>) in the status register will also be set to a ? 1 ?. an over-temperature condition is indicated when the voltage at v in exceeds 2.6 v (typical). the TC664/ tc665 devices indicate this by setting otf(bit 5) in the status register to a ' 1 '. the tc665 device also pulls the fault line low during an over-temperature condition. the TC664/tc665 devices are available in a 10-pin msop package and consume 150 a during opera- tion. the devices can also enter a low-power shutdown mode (5 a, typ.) by setting the appropriate bit in the configuration register. the operating temperature range for these devices is -40c to +85oc. 10-pin msop 1 2 3 4 5 10 9 8 7 6 v in c f sclk sda gnd v dd v out sense nc fault TC664 tc665 smbus? pwm fan speed controllers with fan fault detection smbus is a trademark of intel coporation
TC664/tc665 ds21737a-page 2 ? 2002 microchip technology inc. functional block diagram v otf 50 k ? otf v min TC664/tc665 sense fault v out v dd gnd sda sclk c f v in ? + + ? clock generator serial port interface control logic start-up timer missing pulse detect 100 mv (typ.) + ? nc ? + note: otf condition applies for the tc665 device only. note
? 2002 microchip technology inc. ds21737a-page 3 TC664/tc665 1.0 electrical characteristics absolute maximum ratings * v dd ..................................................................................6.5 v input voltages .................................... -0.3 v to (v dd + 0.3 v) output voltages ................................. -0.3 v to (v dd + 0.3 v) storage temperature .....................................-65c to +150c ambient temp. with power applied ................-40c to +125c maximum junction temperature, t j ............................. 150c esd protection on all pins .................................................. 4kv * notice: stresses above those listed under ?maximum rat- ings? may cause permanent damage to the device. this is a stress rating only and functional operation of the device at those or any other conditions above those indicated in the operational listings of this specification is not implied. expo- sure to maximum rating conditions for extended periods may affect device reliability. pin function table electrical specifications name function v in analog input c f analog output sclk serial clock input sda serial data in/out (open drain) gnd ground fault digital (open drain) output nc no connection sense analog input v out digital output v dd power supply input electrical characteristics: unless otherwise noted, all limits are specified for v dd = 3.0 v to 5.5 v, -40c 1600 2-wire serial bus interface logic input high v ih 2.1 ? ? v note 2 logic input low v il ??0.8v logic output low v ol ??0.4vi ol = 3 ma input capacitance sda, sclk c in ?10 15pf note 1 i/o leakage current i leak -1.0 ? +1.0 a sda output low current i olsda 6??mav ol = 0.6 v note 1: not production tested, ensured by design, tested during characterization. 2: for 5.0 v < v dd 5.5 v, the limit for v ih = 2.2 v.
TC664/tc665 ds21737a-page 4 ? 2002 microchip technology inc. temperature specifications timing specifications electrical characteristics: unless otherwise noted, all parameters apply at v dd = 3.0 v to 5.5 v parameters symbol min typ max units conditions temperature ranges: specified temperature range t a -40 ? +85 c operating temperature range t a -40 ? +125 c storage temperature range t a -65 ? +150 c thermal package resistances: thermal resistance, 10 pin msop ja ?113?c/w electrical characteristics: unless otherwise noted, all limits are specified for v dd = 3.0 v to 5.5 v, -40c ? 2002 microchip technology inc. ds21737a-page 5 TC664/tc665 figure 1-1: bus timing data. t su(start) t h(start) t su-data t su(stop) t idle a = start condition b = msb of address clocked into slave c = lsb of address clocked into slave d = r/w bit clocked into slave e = slave pulls sda line low a b cd e fg h i j kl m f = acknowledge bit clocked into master g = msb of data clocked into slave h = lsb of data clocked into slave i = slave pulls sda line low j = acknowledge clocked into master k = acknowledge clock pulse l = stop condition, data executed by slave m = new start condition t low t high sclk sda t h-data smbus write timing diagram t su(start) t h(start) t su-data t su(stop) t idle a = start condition b = msb of address clocked into slave c = lsb of address clocked into slave d = r/w bit clocked into slave a b cdef g h ij k e = slave pulls sda line low f = acknowledge bit clocked into master g = msb of data clocked into master h = lsb of data clocked into master t low t high i = acknowledge clock pulse j = stop condition k = new start condition sclk sda smbus read timing diagram e
TC664/tc665 ds21737a-page 6 ? 2002 microchip technology inc. 2.0 typical performance curves figure 2-1: i dd vs. temperature. figure 2-2: i dd shutdown vs. temperature. figure 2-3: pwm, source current vs. temperature. figure 2-4: pwm, sink current vs. temperature. figure 2-5: fault v ol vs. temperature. figure 2-6: pwm frequency vs. temperature. note: the graphs and tables provided following this note are a statistical summary based on a limited number of samples and are provided for informational purposes only. the performance characteristics listed herein are not tested or guaranteed. in some graphs or tables, the data presented may be outside the specified operating range (e.g., outside specified power supply range) and therefore outside the warranted range. 130 135 140 145 150 155 160 165 170 175 180 -40 -25 -10 5 20 35 50 65 80 95 110 125 temperature (c) i dd (a) v dd = 5.5 v v dd = 3.0 v pins 8 and 9 open 1.000 2.000 3.000 4.000 5.000 6.000 7.000 8.000 9.000 -40 -25 -10 5 20 35 50 65 80 95 110 125 temperature (oc) shutdown i dd (a) v dd = 3.0 v v dd = 5.5 v 5 10 15 20 25 30 35 -40 -25 -10 5 20 35 50 65 80 95 110 125 temperature (c) source current (ma) v dd = 5.5 v v dd = 5.0 v v dd = 4.0 v v dd = 3.0 v v oh = 0.8v dd 2 4 6 8 10 12 14 -40 -25 -10 5 20 35 50 65 80 95 110 125 temperature (c) sink current (ma) v dd = 5.5 v v dd = 5.0 v v dd = 4.0 v v dd = 3.0 v v ol = 0.1v dd 15 20 25 30 35 40 45 50 -40 -25 -10 5 20 35 50 65 80 95 110 125 temperature (oc) fault v ol (mv) i ol = 2.5 ma v dd = 5.5 v v dd = 5.0 v v dd = 4.0 v v dd = 3.0 v 27 28 29 30 31 32 -40 -25 -10 5 20 35 50 65 80 95 110 125 temperature (oc) pwm frequency (hz) v dd = 5.5 v v dd = 3.0 v c f = 1.0 f
? 2002 microchip technology inc. ds21737a-page 7 TC664/tc665 figure 2-7: sda i ol vs. temperature. figure 2-8: v cmax vs. temperature. figure 2-9: v cmin vs. temperature. figure 2-10: rpm %error vs. temperature. figure 2-11: sense threshold (v thsense ) hysteresis vs. temperature. figure 2-12: sda, sclk hysteresis vs. temperature. 20 25 30 35 40 45 50 -40 -25 -10 5 20 35 50 65 80 95 110 125 temperature (oc) sda i ol (ma) v ol = 0.4 v v dd = 5.5 v v dd = 5.0 v v dd = 4.0 v v dd = 3.0 v 2.575 2.580 2.585 2.590 2.595 2.600 2.605 2.610 2.615 2.620 -40 -25 -10 5 20 35 50 65 80 95 110 125 temperature (oc) v cmax (v) v dd = 3.0 v v dd = 4.0 v v dd = 5.0 v v dd = 5.5 v 1.180 1.185 1.190 1.195 1.200 1.205 -40 -25 -10 5 20 35 50 65 80 95 110 125 temperature (oc) v cmin (v) v dd = 3.0 v v dd = 5.0 v v dd = 5.5 v v dd = 4.0 v 0 1 2 3 4 5 6 7 8 9 10 -40 -25 -10 5 20 35 50 65 80 95 110 125 temperature (oc) rpm error (%) v dd = 3.0 v v dd = 5.5 v v dd = 5.0 v c f = 1.0 uf 20 25 30 35 40 45 -40 -25 -10 5 20 35 50 65 80 95 110 125 temperature (oc) v thsense hysteresis (mv) v dd = 3.0v v dd = 5.5v 80 90 100 110 120 130 140 150 -40 -25 -10 5 20 35 50 65 80 95 110 125 temperature (oc) sda & sclk hysteresis (mv) v dd = 3.0 v v dd = 5.0 v
TC664/tc665 ds21737a-page 8 ? 2002 microchip technology inc. 3.0 pin functions the descriptions of the pins are listed in table 3-1. table 3-1: pin function table 3.1 analog input (v in ) a voltage range of 1.62 v to 2.6 v (typical) on this pin drives an active duty-cycle of 30% to 100% on the v out pin. 3.2 analog output (c f ) positive terminal for the pwm ramp generator timing capacitor. the recommended c f is 1 f for 30 hz pwm operation. 3.3 smbus serial clock input (sclk) clocks data into and out of the TC664/tc665. see section 5.0 for more information on the serial interface. 3.4 serial data (bi-directional) (sda) serial data is transferred on the smbus in both direc- tions using this pin. see section 5.0 for more informa- tion on the serial interface. 3.5 digital (open drain) output (fault ) when the fan?s rpm falls below the user-set rpm threshold (or otf occurs with tc665), a logic low signal is asserted. 3.6 analog input (sense) fan current pulses are detected at this pin. these pulses are counted and used in the calculation of the fan rpm. 3.7 digital output (v out ) this active high complimentary output drives the base of an external transistor or the gate of a mosfet. 3.8 power supply input (v dd ) the v dd pin with respect to gnd provides power to the device. this bias supply voltage may be independent of the fan power supply. name function v in analog input c f analog output sclk serial clock input sda serial data in/out (open drain) gnd ground fault digital (open drain) output nc no connection sense analog input v out digital output v dd power supply input
? 2002 microchip technology inc. ds21737a-page 9 TC664/tc665 4.0 device operation the TC664/tc665 devices allow you to control, moni- tor and communicate (via smbus) fan speed for 2-wire and 3-wire dc brushless fans. by pulse width modulat- ing (pwm) the voltage across the fan, the TC664/ tc665 controls fan speed according to the system tem- perature.the goal of temperature proportional fan speed control is to reduce fan power consumption, increase fan life and reduce system acoustic noise. with the TC664/tc665 devices, fan speed can be con- trolled by the analog input v in or the smbus interface, allowing for high system flexibility. the TC664/tc665 devices also measure and monitor fan revolutions per minute (rpm). a fan?s speed (rpm) is a measure of its health. as a fan?s bearings wear out, the fan slows down and eventually stops (locked rotor). by monitoring the fan?s rpm level, the TC664/tc665 devices can detect open, shorted, unconnected and locked rotor fan conditions. the fan speed threshold can be set to provide a predictive fan failure feature. this feature can be used to give a system warning and, in many cases, help to avoid a system thermal shut- down condition. the fan rpm data and threshold reg- isters are available over the smbus interface which allows for complete system control. the TC664/tc665 devices are identical in every aspect except for how they indicate an over-tempera- ture condition. when v in voltage exceeds 2.6 v (typi- cal), both devices will set otf (bit 5) in the status register to a ' 1 '. the tc665 will additionally pull the fault output low during an over-temperature condition. figure 4-1: typical application circuit. 1 2 3 4 5 6 7 8 9 10 +5 v fan r iso r sense c sense ntc thermistor r 1 r 2 c 1 0.01 f c 2 1f 100 k ? @ 25c picmicro ? microcontroller +12 v +5 v +5 v +5 v 34.8 k ? 14.7 k ? c f 1.0 f r sclk 20 k ? r sda 20 k ? 715 ? 0.1 f r fault 20 k ? note: refer to table 7-1 for r sense value. v in c f sclk sda gnd fault nc sense v out v dd TC664 tc665
TC664/tc665 ds21737a-page 10 ? 2002 microchip technology inc. 4.1 fan speed control methods the speed of a dc brushless fan is proportional to the voltage across it. for example, if a fan?s rating is 5000 rpm at 12 v, it?s speed would be 2500 rpm at 6 v. this, of course, will not be exact, but should be close. there are two main methods for fan speed control. the first is pulse width modulation (pwm) and the second is linear. using either method the total system power requirement to run the fan is equal. the difference between the two methods is where the power is con- sumed. the following example compares the two methods for a 12 v, 120 ma fan running at 50% speed. with 6 v applied across the fan, the fan draws an average cur- rent of 68 ma. using a linear control method, there is 6v across the fan and 6v across the drive element. with 6 v and 68 ma, the drive element is dissipating 410 mw of power. using the pwm approach, the fan is modulated at a 50% duty cycle, with most of the 12 v being dropped across the fan. with 50% duty cycle, the fan draws an rms current of 110 ma and an average current of 72 ma. using a mosfet with a 1 ? rds (on) (a fairly typical value for this low current) the power dis- sipation in the drive element would be: 12 mw (irms 2 * rds (on) ). using a standard 2n2222a npn transistor (assuming a vce-sat of 0.8 v), the power dissipation would be 58 mw (iavg* vce-sat). the pwm approach to fan speed control causes much less power dissipation in the drive element. this allows smaller devices to be used and will not require any spe- cial heatsinking to get rid of the power being dissipated in the package. the other advantage to the pwm approach is that the voltage being applied to the fan is always near 12 v. this eliminates any concern about not supplying a high enough voltage to run the internal fan components which is very relevant in linear fan speed control. 4.2 pwm fan speed control the TC664/tc665 devices implement pwm fan speed control by varying the duty cycle of a fixed frequency pulse train. the duty cycle of a waveform is the on time divided by the total period of the pulse. for example, given a 100 hz waveform (10 msec.) with an on time of 5.0 msec., the duty cycle of this waveform is 50% (5.0 msec./10.0 msec.). an example of this is shown in figure 4-2. figure 4-2: duty cycle of a pwm waveform. the TC664/tc665 devices generate a pulse train with a typical frequency of 30 hz (c f = 1 f). the duty cycle can be varied from 30% to 100%. the pulse train gen- erated by the TC664/tc665 devices drives the gate of an external n-channel mosfet or the base of an npn transistor (figure 4-3). see section 7.5 for more infor- mation on output drive device selection. figure 4-3: pwm fan drive. by modulating the voltage applied to the gate of the mosfet qdrive, the voltage applied to the fan is also modulated. when the v out pulse is high, the gate of the mosfet is turned on, pulling the voltage at the drain of qdrive to zero volts. this places the full 12 v across the fan for the ton period of the pulse. when the duty cycle of the drive pulse is 100% (full on, ton = t), the fan will run at full speed. as the duty cycle is decreased (pulse on time ?ton? is lowered), the fan will slow down proportionally. with the TC664/tc665 devices, the duty cycle can be controlled through the analog input pin (v in ), or through the smbus interface, by using the duty-cycle register. see section 4.5 for more details on duty cycle control. t to n to ff t = period t = 1/f f = frequency d = duty cycle d = ton / t fan 12 v qdrive TC664 tc665 v dd gnd v out g d s
? 2002 microchip technology inc. ds21737a-page 11 TC664/tc665 4.3 fan startup often overlooked in fan speed control is the actual startup control period. when starting a fan from a non- operating condition (fan speed is zero rpm), the desired pwm duty cycle or average fan voltage can not be applied immediately. since the fan is at a rest posi- tion, the fan?s inertia must be overcome to get it started. the best way to accomplish this is to apply the full rated voltage to the fan for one second. this will ensure that in all operating environments, the fan will start and operate properly. the TC664/tc665 devices implement this fan control feature without any user programming. during a power up or release from shutdown condition, the TC664/ tc665 devices force the v out output to a 100% duty cycle, turning the fan full on for one second (c f = 1.0 f). once the one second period is over, the TC664/tc665 devices will look to see if smbus or v in control has been selected in the configuration register (dutyc bit 5<0>). based on this register, the device will choose which input will control the v out duty cycle. duty cycle control based on v in is the default state. if v in control is selected and the v in pin is open (nothing is connected to the v in pin), then the TC664/tc665 will default to a duty cycle of 39.33%. this sequence is shown in figure 4-4. this integrated one second star- tup feature will ensure the fan starts up every time. figure 4-4: power-up flow chart. 4.4 pwm drive frequency (c f ) as previously discussed, the TC664/tc665 devices operate with a fixed pwm frequency. the frequency of the pwm drive output (v out ) is set by a capacitor at the c f pin. with a 1 f capacitor at the c f pin, the typical drive frequency is 30 hz. this frequency can be raised, by decreasing the capacitor value, or lowered, by increasing the capacitor value. the relationship between the capacitor value and the pwm frequency is linear. if a frequency of 15 hz is desired, a capacitor value of 2.0 f should be used. the frequency should be kept in the range of 15 hz to 35 hz. see section 7.2 for more details. 4.5 duty cycle control (v in and duty- cycle register) the duty cycle of the v out pwm drive signal can be controlled by either the v in analog input pin or by the duty-cycle register, which is accessible via the smbus interface. the control method is selectable via dutyc (bit 5<0>) of the configuration register. the default state is for v in control. if v in control is selected and the v in pin is open, the pwm duty cycle will default to 39.33%. the duty cycle control method can be changed at any time via the smbus interface. v in is an analog input pin. a voltage in the range of 1.62 v to 2.6 v (typical) at this pin commands a 30% to 100% duty cycle on the v out output, respectively. if the voltage at v in falls below the 1.62 v level, the duty cycle will not go below 30%. the relationship between the voltage at v in and the pwm duty cycle is shown in figure 4-5. figure 4-5: pwm duty cycle vs. input voltage, v in (typical). for the tc665 device, if the voltage at v in exceeds the 2.6 v (typical) level, an over temperature fault indica- tion will be given by asserting a low at the fault output and setting otf (bit 5) in the status register to a ? 1 ?. a thermistor network or any other voltage output ther- mal sensor can be used to provide the voltage to the v in input. the voltage supplied to the v in pin can actu- ally be thought of as a temperature. for example, the circuit shown in figure 4-6 represents a typical solution for a thermistor based temperature sensing network. see section 7.3 for more details. power up or release from shdn one second pulse select smbus no v in open? no yes yes default pwm: 39.33% smbus pwm duty cycle control v in pwm duty cycle control 0 10 20 30 40 50 60 70 80 90 100 1 1.2 1.4 1.6 1.8 2 2.2 2.4 2.6 2.8 input voltage (v in ) duty cycle (%)
TC664/tc665 ds21737a-page 12 ? 2002 microchip technology inc. figure 4-6: ntc thermistor sensor network. the second method for controlling the duty cycle of the pwm output (v out ) is via the smbus interface. in order to control the pwm duty cycle via the smbus, dutyc (bit 5<0>) of the configuration register (register 6.3) must be set to a ? 1 ?. this tells the TC664/tc665 device that the duty cycle should be controlled by the duty cycle register. next, the duty cycle register must be programmed to the desired value. the duty cycle reg- ister is a 4 bit read/write register that allows duty cycles from 30% to 100% to be programmed. table 4-1 shows the binary codes for each possible duty cycle. table 4-1: duty-cycle register (duty-cycle) 4-bits, read/write this method of control allows for more sophisticated algorithms to be implemented by utilizing microcontrol- lers or microprocessors in the system. in this way, mul- tiple system temperatures can be taken into account for determining the necessary fan speed. as shown in table 4-1, the duty cycle has more of a step function look than did the v in control approach. because the step changes in duty cycle are small, they are rarely audibly noticeable, especially when the fans are integrated into the system. 4.6 pwm output (v out ) the v out pin is designed to drive a low cost npn tran- sistor or n-channel mosfet as the low side switching element in the system, as is shown in figure 4-7. the switching element is used to turn the fan on and off at the pwm duty cycle commanded by the v out output this output has complementary drive (pull up and pull down) and is optimized for driving npn transistors or n-channel mosfets (see typical characteristic curves for sink and source current capability of the v out drive stage). the external device needs to be chosen to fit the volt- age and current rating of the fan in a particular applica- tion (refer to section 7.5 output drive device selection). npn transistors are often a good choice for low current fans. if a npn transistor is chosen, a base current limiting resistor should be used. when using a mosfet as the switching element, it is sometimes a good idea to have a gate resistor to help slow down the turn on and turn off of the mosfet. as with any switch- ing waveform, fast rising and falling edges can sometimes lead to noise problems. as previously stated, the v out output will go to 100% duty cycle during power up and release from shutdown conditions. the v out output only shuts down when commanded to do so via the configuration register (sdm (bit 0<0>)). even when a locked rotor condition is detected, the v out output will continue to pulse at the programmed duty cycle. 4.7 sensing fan operation (sense) the TC664/tc665 devices also feature microchip?s proprietary fansense technology. during normal fan operation, commutation occurs as each pole of the fan is energized. the fan current pulses created by the fan commutation are sensed using a low value current sense resistor in the ground return leg of the fan circuit. the voltage pulses across the sense resistor are then ac coupled through a capacitor to the sense pin of the TC664/tc665 device. these pulses are utilized for calculating the rpm of the fan. the threshold voltage for the sense pin is 100 mv (typical). the peak of the voltage pulse at the sense pin must exceed the 100 mv (typical) threshold in order for the pulse to be counted in the fan rpm measurement. duty-cycle register (duty cycle) d(3) d(2) d(1) d(0) duty-cycle 000030% 0 0 0 1 34.67% 0 0 1 0 39.33% (default for v in open and when smbus is not selected) 001144% 0 1 0 0 48.67% 0 1 0 1 53.33% 011058% 0 1 1 1 62.67% 1 0 0 0 67.33% 100172% 1 0 1 0 76.67% 1 0 1 1 81.33% 110086% 1 1 0 1 90.67% 1 1 1 0 95.33% 1111100% v in +5 v ntc thermistor r 1 r 2 c 1 0.01 f 100 k ? @ 25c TC664 tc665 gnd 34.8 k ? 14.7 k ?
? 2002 microchip technology inc. ds21737a-page 13 TC664/tc665 see section 7.4 for more details on selecting the appropriate current sense resistor and coupling capacitor values. figure 4-7: fan current sensing. by selecting fppr (bits 2-1<01>) in the configuration register, the TC664/tc665 devices can be pro- grammed to calculate rpm data for fans with 1, 2, 4 or 8 current pulses per rotation. the default state assumes a fan with 2 pulses per rotation. the measured rpm data is then stored in the rpm- output (rpm) register. this register is a 9-bit read only register which stores rpm data with 25 rpm res- olution. by setting res (bit 6<0>) of the configuration register to a ? 1 ?, the rpm data can be read with 25 rpm resolution. if this bit is left in the default state of ' 0 ', the rpm data will only be readable with resolu- tion of 50 rpms, which represents 8-bit data. the maximum fan rpm reading is 12775 rpm. if this value is exceeded, a counter overflow bit in the status register is set. rco (bit 3<0>) in the status register represents the rpm counter overflow bit for the rpm- output register. this bit will automatically be reset to zero if the fan rpm reading has been below the max- imum value of 12775 rpm for 2.4 seconds. see table 6-1 for rpm and status register command byte assignments. 4.8 fan fault threshold and indication (fault ) for the TC664/tc665 devices, a fault condition exists whenever a fan?s sensed rpm level falls below the user programmable threshold. the rpm threshold value for fan fault detection is set in the fan_fault register (8-bit, read/write). the rpm threshold represents the fan speed at which the TC664/tc665 devices w ill indicate a fan fault. this threshold can be set at lower levels to indicate fan locked rotor conditions, or set to higher levels to give indications for predictive fan failure. it is recommended that the rpm threshold be at least 10% lower than the minimum fan speed which occurs at the lowest duty cycle set point. the default value for the fan rpm threshold is 500 rpm. if the fan's sensed rpm is less than the fan fault threshold for 2.4 seconds (typical), a fan fault condition is indicated. when a fault condition, due to low fan rpm, occurs, a logic low is asserted at the fault output and the ff (bit 0<0>) in the status register is set to ' 1 '. the fault output and the fault bit in the status register can be reset by setting ffclr (bit 7<0>) in the configuration register to a ' 1 '. for the tc665 device, a fault condition is also indicated when an over temperature fault condition occurs. this condition occurs when the v out duty cycle exceeds the 100% value, indicating that no additional cooling capability is available. for this condition, a logic low is asserted at the fault output and otf (bit 5) of the status register, the over temperature fault indi- cator, is set to a ? 1 ? (the TC664 also indicates an over temperature condition via the otf bit in the status reg- ister). if the duty cycle then decreases below 100%, the fault output will be released and otf (bit 5) of the status register will be reset to ? 0 ?. 4.9 low power shutdown mode some applications may have operating conditions where fan cooling is not required as a result of low ambient temperature or light system load. during these times it may be desirable to shut the fans down to save power and reduce system noise. the TC664/tc665 devices can be put into a low power shutdown mode by setting sdm (bit 0<0>) in the con- figuration register to a ? 1 ? (this bit is the shutdown bit). when the TC664/tc665 devices are in shutdown mode, all functions except for the smbus interface are suspended. during this mode of operation, the TC664 and tc665 devices w ill draw a typical supply current of only 5 a. normal operation will resume as soon as bit 0 in the configuration register is reset to ? 0 ?. when the TC664/tc665 devices are brought out of a shutdown mode by resetting sdm (bit 0<0>) in the configuration register, all of the registers, except for the configuration and fan_fault registers assume sense v out fan r iso r sense c sense TC664 tc665 gnd
TC664/tc665 ds21737a-page 14 ? 2002 microchip technology inc. their default power up states. the configuration regis- ter and the fan_fault register maintain the states they were in prior to the device being put into the shut- down mode. since these are the registers which control the parts operation, the part does not have to be repro- grammed for operation when it comes out of shutdown mode. 4.10 smbus interface (sclk & sda) the TC664/tc665 feature an industry standard, 2-wire serial interface with factory-set addresses. by commu- nicating with the TC664/tc665 device's registers, functions like pwm duty cycle, low power shutdown mode and fan rpm threshold can be controlled. critical information, such as fan fault, over temperature and fan rpm, can also be obtained via the device data regis- ters. the available data and control registers make the TC664/tc665 devices very flexible and easy to use. all of the available registers are detailed in section 6.0. 4.11 smbus slave address the slave address of the TC664/tc665 devices is 0011 011 . this is a fixed address. this address is dif- ferent from industry-standard digital temperature sen- sors (like the tcn75) and, therefore, allows the TC664/ tc665 to be utilized in systems in conjunction with these components. please contact microchip technology if alternate addresses are required.
? 2002 microchip technology inc. ds21737a-page 15 TC664/tc665 5.0 serial communication 5.1 smbus 2-wire interface the serial clock input (sclk) and the bi-directional data port (sda) form a 2-wire bi-directional serial port for communicating with the TC664/tc665. the follow- ing bus protocols have been defined: ? data transfer may be initiated only when the bus is not busy. ? during data transfer, the data line must remain stable whenever the clock line is high. changes in the data line while the clock line is high will be interpreted as a start or stop condition. accordingly, the following serial bus conventions have been defined. table 5-1: TC664/tc665 serial bus conventions 5.1.1 data transfer the TC664/tc665 support a bi-directional 2-wire bus and data transmission protocol. the serial protocol sequencing is illustrated in figure 1-1. data transfers are initiated by a start condition (start), followed by a device address byte and one or more data bytes. the device address byte includes a read/write selection bit. each access must be terminated by a stop condi- tion (stop). a convention call acknowledge (ack) confirms the receipt of each byte. note that sda can only change during periods when sclk is low (sda changes while sclk is high are reserved for start and stop conditions). all bytes are transferred msb (most significant bit) first. 5.1.2 master/slave the device that sends data onto the bus is the transmit- ter and the device receiving data is the receiver. the bus is controlled by a master device which generates the serial clock (sclk), controls the bus access and generates the start and stop conditions. the TC664/tc665 always work as a slave device. both master and slave devices can operate as either trans- mitter or receiver, but the master device determines which mode is activated. 5.1.3 start condition (start) a high to low transition of the sda line while the clock (sclk) is high determines a start condition. all commands must be preceded by a start condi- tion. 5.1.4 address byte immediately following the start condition, the host must transmit the address byte to the TC664/tc665. the 7-bit smbus address for the TC664/tc665 is 0011 011 . the 7-bit address transmitted in the serial bit stream must match for the TC664/tc665 to respond with an acknowledge (indicating the TC664/tc665 is on the bus and ready to accept data). the eighth bit in the address byte is a read-write bit. this bit is a ? 1 ? for a read operation or ? 0 ? for a write operation. during the first phase of any transfer, this bit will be set = 0 to indi- cate that the command byte is being written. 5.1.5 stop condition (stop) a low to high transition of the sda line while the clock (sclk) is high determines a stop condition. all operations must be ended with a stop condition. 5.1.6 data valid the state of the data line represents valid data when, after a start condition, the data line is stable for the duration of the high period of the clock signal. term description transmitter the device sending data to the bus. receiver the device receiving data from the bus. master the device which controls the bus: ini- tiating transfers (start), generating the clock and terminating transfers (stop). slave the device addressed by the master. start a unique condition signaling the beginning of a transfer indicated by sda falling (high to low) while sclk is high. stop a unique condition signaling the end of a transfer indicated by sda rising (low to high) while sclk is high. ack a receiver acknowledges the receipt of each byte with this unique condi- tion. the receiver pulls sda low dur- ing sclk high of the ack clock-pulse. the master provides the clock pulse for the ack cycle. busy communication is not possible because the bus is in use. not busy when the bus is idle, both sda and sclk will remain high. data valid the state of sda must remain stable during the high period of sclk in order for a data bit to be considered valid. sda only changes state while sclk is low during normal data trans- fers. (see start and stop condi- tions)
TC664/tc665 ds21737a-page 16 ? 2002 microchip technology inc. the data on the line must be changed during the low period of the clock signal. there is one clock pulse per bit of data. each data transfer is initiated with a start condition and terminated with a stop condition. the number of the data bytes transferred between the start and stop conditions is determined by the master device and is unlimited. 5.1.7 acknowledge (ack) each receiving device, when addressed, is obliged to generate an acknowledge bit after the reception of each byte. the master device must generate an extra clock pulse, which is associated with this acknowledge bit. the device that acknowledges has to pull down the sda line during the acknowledge clock pulse in such a way that the sda line is stable low during the high period of the acknowledge related clock pulse. setup and hold times must be taken into account. during reads, a master device must signal an end of data to the slave by not generating an acknowledge bit on the last byte that has been clocked out of the slave. in this case, the slave (TC664/tc665) will leave the data line high to enable the master device to generate the stop condition. 5.2 smbus protocols the TC664/tc665 devices communicate with three standard smbus protocols. these are the write byte, read byte and receive byte. the receive byte is a short- ened method for reading from or writing to a register which had been selected by the previous read or write command. these transmission protocols are shown in figures 5-1, 5-2 and 5-3. figure 5-1: smbus protocol: write byte format. figure 5-2: smbus protocol: read byte format. figure 5-3: smbus protocol: receive byte format. s address wr ack command ack data ack p 7 bits 8 bits 8 bits slave address command byte: selects which register you are writing to. data byte: data goes into the register set by the command byte. s address wr ack command ack 7 bits 8 bits slave address command byte: selects which register you are writing to. s address rd ack data nack p 7 bits 8 bits slave address: repeated due to change in data flow direction. data byte: reads from the register set by the command byte. s address rd ack data nack p 7 bits 8 bits slave address data byte: reads data from the register commanded by the last read byte or write byte transmission s = start condition p = stop condition shaded = slave transmission ack = acknowledge = 0 nack = not acknowledged = 1 wr = write = 0 rd = read = 1
? 2002 microchip technology inc. ds21737a-page 17 TC664/tc665 6.0 register set the TC664/tc665 devices contain 7 registers that pro- vide a variety of data and functionality control to the outside system. these registers are listed in table 6-1. of key importance is the command byte information, which is needed in the read and write protocols to select the individual registers. table 6-1: command byte assignments 6.1 rpm-output register (rpm) as discussed in section 4.7, fan current pulses are detected at the sense input of the TC664/tc665 device. the current pulse information is used to calcu- late the fan rpm. the fan rpm data is then written to the rpm register. rpm is a 9-bit register that provides the rpm information in 50 rpm (8-bit) or 25 rpm (9- bit) increments. this is selected via res (bit 6<0>) in the configuration register, with ? 0 ? = 50 rpm and ? 1 ? = 25 rpm. the default state is zero (50 rpm). the maximum fan rpm value that can be read is 12775 rpm. if this value is exceeded, rco (bit 3<0>) in the status register will be set to a ' 1 ' to indicate that a counter overflow of the rpm register has occurred. register 6-1 shows the rpm output register 9-bit for- mat. register 6-1: rpm output register (rpm) register command read write por default state function rpm 0000 0000 x? 0 0000 0000 rpm output fan_fault 0000 0010 xx 0000 1010 fan fault threshold config 0000 0100 xx 0000 1010 configuration status 0000 0101 x? 00x0 0x00 status. see section 6.4, status register explanation of x duty_cycle 0000 0110 xx 0000 0010 fan speed duty cycle mfr_id 0000 0111 x? 0101 0100 manufacturer identification ver_id 0000 1000 x? 0000 00xx version identification: (xx = ? 10 ? TC664, xx = ? 11 ? tc665) d(8) d(7) d(6) d(5) d(4) d(3) d(2) d(1) d(0) rpm 0000000000 00000000125 00000001050 ......... ......... 11111111012750 11111111112775
TC664/tc665 ds21737a-page 18 ? 2002 microchip technology inc. 6.2 fan_fault threshold register (fan_fault) the fan_fault threshold register is used to set the fan fault threshold level for the fan. the fan fault threshold register is an 8-bit read/writable register that allows the fan fault rpm threshold to be set in 50 rpm increments. the default setting for the fan fault register is 500 rpm ( 0000 1010 ). the maximum set point value is 12750 rpm. if the measured fan rpm (stored in the rpm register) drops below the value that is set in the fan fault reg- ister for more than 2.4 sec, ff (bit 0<0>) in the status register will be set to a ' 1 ' and the fault output will be pulled low. see register 6-2 for the fan fault threshold register 8-bit format. register 6-2: fan fault threshold register (fan_fault) d(7) d(6) d(5) d(4) d(3) d(2) d(1) d(0) rpm 000000000 0000000050 00000010100 ........ ........ 1111111012700 1111111112750
? 2002 microchip technology inc. ds21737a-page 19 TC664/tc665 6.3 configuration register (config) the configuration register is an 8-bit, read/writable, multi-function control register. this register allows the user to clear fan faults, select rpm resolution, select v out duty cycle (fan speed) control method, select the fan current pulses per rotation for the fan (for fan rpm calculation) and put the TC664/tc665 device into a shutdown mode to reduce power consumption. see register 6-3 below for the configuration register bit descriptions. register 6-3: configuration register (config) r/w-0 r/w-0 r/w-0 u-0 u-1 r/w-0 r/w-1 r/w-0 ffclr res dutyc ? ? fppr fppr sdm bit 7 bit 0 bit 7 ffclr: fan fault clear 1 = clear fan fault, this will reset the fan fault bit in the status register and the fault out- put. 0 = normal operation (default) bit 6 res: resolution selection for rpm output register 1 = rpm output register (rpm) will be set for 25 rpm (9-bit) resolution. 0 = rpm output register (rpm) will be set for 50 rpm (8-bit) resolution. (default) bit 5 dutyc: duty-cycle control method 1 = the v out duty-cycle will be controlled via the smbus interface. the value for the v out duty-cycle will be taken from the duty-cycle register (duty_cycle). 0 = the v out duty-cycle will be controlled via the v in analog input pin. the v out duty-cycle value will be between 30% and 100% for v in values between 1.62 v and 2.6 v typical. if the v in pin is open when this mode is selected, the v out duty-cycle will default to 39.33%. (default) bit 4 unimplemented: read as '0' bit 3 unimplemented: read as '1' bit 2-1 fppr: fan pulses per rotation the TC664/tc665 device uses this setting to understand how many current pulses per revolu- tion the fan should have. it then uses this as part of the calculation for the fan rpm value for the rpm register. see section 7.7 for application information on determining your fan?s number of current pulses per revolution. 00 =1 01 = 2 (default) 10 =4 11 =8 bit 0 sdm: shutdown mode 1 = shutdown mode. see section 4.9 for more information on low power shutdown mode. 0 = normal operation. (default) legend: r = readable bit w = writable bit u = unimplemented bit -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown
TC664/tc665 ds21737a-page 20 ? 2002 microchip technology inc. 6.4 status register (status) the status register provides all the information about what is going on within the TC664/tc665 devices. fan fault information, v in status, rpm counter overflow and over temperature indication are all available in the status register. the status register is an 8-bit read only register with bits 1, 4, 6 and 7 unused. see register 6-4 below for the bit descriptions. register 6-4: status register (status) u-0 u-0 r-x u-0 r-0 r-x u-x r-0 ? ?otf ? rco vstat ?ff bit 7 bit 0 bit 7-6 unimplemented: read as ?0? bit 5 otf: over temperature fault condition for the TC664/tc665 device, this bit is set to the proper state immediately at startup and is therefore treated as an unknown (x). if v in is greater than the threshold required for 100% duty cycle on v out (2.6 v typical), then the bit will be set to a ? 1 ?. if it is less than the threshold, the bit will be set to ? 0 ?. this is determined at power-up. 1 = over temperature condition has occurred. 0 = normal operation, v in is less than 2.6 v. bit 4 unimplemented: read as ?0? bit 3 rco: rpm counter overflow 1 = fault condition. the maximum rpm reading of 12775 rpm in register rpm has been exceeded. this bit will automatically reset to zero when the rpm reading comes back into range. 0 = normal operation. rpm reading is within limits (default). bit 2 vstat: v in input status for the TC664/tc665 devices, the v in pin status is checked immediately at power-up. if no external thermistor or voltage output network is connected (v in is open), this bit is set to a ? 1 ?. if an external network is detected, this bit is set to ? 0 ?. if the v in pin is open and smbus operation has not been selected in the configuration register, the v out duty cycle will default to 39.33%. 1 =v in is open. 0 = normal operation. voltage present at v in . bit 1 unimplemented: read as ?unknown? bit 0 ff: fan fault 1 = fault condition. the value for fan rpm in the rpm register has fallen below the value set in the fan_fault threshold register. the speed of the fan is too low and a fault condi- tion is being indicated. the fault output will be pulled low at the same time. this fault bit can be cleared using the fan fault clear bit (ffclr (bit 7<0>)) in the configuration reg- ister. 0 = normal operation (default). legend: r = readable bit w = writable bit u = unimplemented bit -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown
? 2002 microchip technology inc. ds21737a-page 21 TC664/tc665 6.5 duty-cycle register (duty_cycle) the duty_cycle register is a 4-bit read/writable reg- ister used to control the duty cycle of the v out output. the controllable duty cycle range via this register is 30% to 100%, with programming steps of 4.67%.this method of duty cycle control is mainly used with the smbus interface. however, if the v in method of duty cycle control has been selected (or defaulted to), and the v in pin is open, the duty cycle will go to the default setting for this register, which is 0010 (39.33%). the duty cycle settings are shown in register 6-5. register 6-5: duty-cycle register (duty_cycle) 6.6 manufacturer?s identification register (mfr_id) this register allows the user to identify the manufac- turer of the part. the mfr_id register is an 8-bit read only register. see register 6-6 for the microchip manu- facturer id. register 6-6: manufacturer?s identification register (mfr_id) 6.7 version id register (ver_id) this register is used to indicate which version of the device is being used, either the TC664 or the tc665. this register is a simple 2-bit read only register. register 6-7: version id register (ver_id) d(3) d(2) d(1) d(0) duty-cycle 000030% 0 0 0 1 34.67% 0 0 1 0 39.33% (default for v in open and when smbus is not selected) 001144% 0 1 0 0 48.67% 0 1 0 1 53.33% 011058% 0 1 1 1 62.67% 1 0 0 0 67.33% 100172% 1 0 1 0 76.67% 1 0 1 1 81.33% 110086% 1 1 0 1 90.67% 1 1 1 0 95.33% 1111100% d[7] d[6] d[5] d[4] d[3] d[2] d[1] d[0] 01010100 d[1] d[0] version 10TC664 11tc665
TC664/tc665 ds21737a-page 22 ? 2002 microchip technology inc. 7.0 applications information 7.1 connecting to the smbus the smbus is an open collector bus, requiring pull-up resistors connected to the sda and sclk lines. this configuration is shown in figure 7-1. figure 7-1: pull-up resistors on smbus. the number of devices connected to the bus is limited only by the maximum rise and fall times of the sda and sclk lines. unlike i 2 c specifications, smbus does not specify a maximum bus capacitance value. rather, the smbus specification calls out that the maximum current through the pull-up resistor be 350 a (minimum, 100 a, is also specified). therefore, the value of the pull-up resistors will vary depending on the system?s bias voltage, v dd . minimizing bus capacitance is still very important as it directly effects the rise and fall times of the sda and sclk lines. the range for pull-up resis- tor values for a 5 v system are shown in figure 7-1. although smbus specifications only require the sda and sclk lines to pull down 350 a, with a maximum voltage drop of 0.4 v, the TC664/tc665 devices have been designed to meet a maximum voltage drop of 0.4 v with 3 ma of current. this allows lower values of pull-up resistors to be used, which will allow higher bus capacitance. if this is to be done, all devices on the bus must be able to meet the same pull down current requirements as well. a possible configuration using multiple devices on the smbus is shown in figure 7-2. figure 7-2: multiple devices on smbus. 7.2 setting the pwm frequency the pwm frequency of the v out output is set by the capacitor value attached to the c f pin. the pwm fre- quency will be 30 hz (typical) for a 1 f capacitor. the relationship between frequency and capacitor value is linear, making alternate frequency selections easy. as stated in previous sections, the pwm frequency should be kept in the range of 15 hz to 35 hz. this will eliminate the possibility of having audible frequencies when varying the duty cycle of the fan drive. a very important factor to consider when selecting the pwm frequency for the TC664/tc665 devices is the rpm rating of the selected fan and the minimum duty cycle that you will be operating at. for fans that have a full speed rating of 3000 rpm or less, it is desirable to use a lower pwm frequency. a lower pwm frequency allows for a longer time period to monitor the fan cur- rent pulses. the goal is to be able to monitor at least two fan current pulses during the on time of the v out output. example: your system design requirement is to oper- ate the fan at 50% duty cycle when ambient tempera- tures are below 20c. the fan full speed rpm rating is 3000 rpm and has four current pulses per rotation. at 50% duty cycle, the fan will be operating at approxi- mately 1500 rpm. equation if one fan revolution occurs in 40 msec, then each fan pulse occurs 10 msec apart. in order to detect two fan current pulses, the on time of the v out pulse must be at least 20 msec. with the duty cycle at 50%, the total period of one cycle must be at least 40 msec, which makes the pwm frequency 25 hz. for this example, a pwm frequency of 20 hz is recommended. this would define a c f capacitor value of 1.5 f. picmicro sda sclk v dd r r microcontroller TC664/tc665 range for r: 13.2 k ? to 46 k ? for v dd = 5.0 v sda sclk pic16f876 microcontroller tcn75 temperature sensor 24lc01 eeprom TC664/tc665 fan speed controller time for one revolution (msec.) 60 1000 1500 ----------------------- -40 ==
? 2002 microchip technology inc. ds21737a-page 23 TC664/tc665 7.3 temperature sensor design as discussed in previous sections, the v in analog input has a range of 1.62 v to 2.6 v (typical), which repre- sents a duty cycle range on the v out output of 30% to 100%, respectively. the v in voltages can be thought of as representing temperatures. the 1.62 v level is the low temperature at which the system only requires 30% fan speed for proper cooling. the 2.6 v level is the high temperature, for which the system needs maximum cooling capability, so the fan needs to be at 100% speed. one of the simplest ways of sensing temperature over a given range is to use a thermistor. by using an ntc thermistor as shown in figure 7-3, a temperature vari- ant voltage can be created. figure 7-3: temperature sensing circuit. figure 7-3 represents a temperature dependent volt- age divider circuit. r t is a conventional ntc thermistor, r 1 and r 2 are standard resistors. r 1 and r t form a par- allel resistor combination that will be referred to as r temp (r temp = r 1 * r t / r 1 + r t ). as the temperature increases, the value of r t decreases and the value of r temp will decrease with it. accordingly, the voltage at v in increases as temperature increases, giving the desired relationship for the v in input. the purpose of r 1 is to help linearize the response of the sensing net- work. figure 7-4 shows an example of this. there are many values that can be chosen for the ntc thermistor. there are also thermistors that have a linear resistance, instead of logarithmic, which can help to eliminate r 1 . if less current draw from v dd is desired, then a larger value thermistor should be chosen. the voltage at the v in pin can also be generated by a volt- age output temperature sensor device. the key is to get the desired v in voltage to system (or component) temperature relationship. the following equations apply to the circuit in figure 7-3. equation in order to solve for the values of r 1 and r 2 , the values for v in, and the temperatures at which they are to occur, need to be selected. the variables, t1 and t2, represent the selected temperatures. the value of the thermistor at these two temperatures can be found in the thermistor data sheet. with the values for the ther- mistor and the values for v in , you now have two equa- tions from which the values for r 1 and r 2 can be found. example: the following design goals are desired: ? duty cycle = 50% (v in = 1.9 v) with temperature (t1) = 30c ? duty cycle = 100% (v in = 2.6 v) with tempera- ture (t2) = 60c using a 100 k ? thermistor (25c value), we look up the thermistor values at the desired temperatures: ?r t = 79428 ? @ 30c ?r t = 22593 ? @ 60c substituting these numbers into the given equations, we come up with the following numbers for r 1 and r 2 . ?r 1 = 34.8 k ? ?r 2 = 14.7 k ? figure 7-4: how thermistor resistance, v in , and r temp vary with temperature. figure 7-4 graphs three parameters versus tempera- ture. they are r t , r 1 in parallel with r t , and v in . as described earlier, you can see that the thermistor has a logarithmic resistance variation. when put in parallel with r 1 , though, the combined resistance becomes more linear, which is the desired effect. this gives us the linear looking curve for v in . r 2 r 1 r t i div v in v dd vt1 () v dd r 2 r temp t1 () r 2 + --------------------------------------- - = vt2 () v dd r 2 r temp t2 () r 2 + --------------------------------------- - = 0 20000 40000 60000 80000 100000 120000 140000 20 30 40 50 60 70 80 90 100 temperature (oc) network resistance ( : ) 0.000 0.500 1.000 1.500 2.000 2.500 3.000 3.500 4.000 v in (v) ntc thermistor 100k @ 25oc v in voltage r temp
TC664/tc665 ds21737a-page 24 ? 2002 microchip technology inc. 7.4 fansense network (r sense & c sense ) the network comprised of r sense and c sense allows the TC664/tc665 devices to detect commutation of the fan motor. r sense converts the fan current into a volt- age. c sense ac couples this voltage signal to the sense pin. the goal of the sense network is to pro- vide a voltage pulse to the sense pin that has a mini- mum amplitude of 120 mv. this w ill ensure that the current pulse caused by the fan commutation is recog- nized by the TC664/tc665 device. a 0.1 f ceramic capacitor is recommended for c sense . smaller values will require larger sense resis- tors be used. using a 0.1 f capacitor results in rea- sonable values for r sense . figure 7-5 illustrates a typical sense network. figure 7-5: typical sense network. the value of r sense will change with the current rating of the fan. a key point is that the current rating of the fan specified by the manufacturer may be a worst case rating. the actual current drawn by the fan may be lower than this rating. for the purpose of setting the value for r sense , the operating fan current should be measured. table 7-1 shows values of r sense according to the nominal operating current of the fan. the fan currents are average values. if the fan current falls between two of the values listed, use the higher resistor value. table 7-1: r sense vs. fan current figure 7-6 shows some typical waveforms for the fan current and the voltage at the sense pins. figure 7-6: typical fan current and sense pin waveforms. 7.5 output drive device selection the TC664/tc665 devices are designed to drive two external npn transistors or two external n-channel mosfets as the fan speed modulating elements. these two arrangements are shown in figure 7-7. for lower current fans, npn transistors are a very econom- ical choice for the fan drive device. it is recommended that, for higher current fans (500 ma and above), mos- fets be used as the fan drive device. table 7-2 pro- vides some possible part numbers for use as the fan drive element. when using an npn transistor as the fan drive ele- ment, a base current limiting resistor must be used. this is shown in figure 7-7. when using mosfets as the fan drive element, it is very easy to turn the mosfets on and off at very high rates. because the gate capacitances of these small fan r iso r sense c sense sense v out (0.1 f typical) 715 ? note: see table 7-1 for r sense value. nominal fan current (ma) r sense (ohm) 50 9.1 100 4.7 150 3.0 200 2.4 250 2.0 300 1.8 350 1.5 400 1.3 450 1.2 500 1.0
? 2002 microchip technology inc. ds21737a-page 25 TC664/tc665 mosfets are very low, the TC664/tc665 devices can charge and discharge them very quickly leading to very fast edges. of key concern is the turn-off edge of the mosfet. since the fan motor winding is essentially an inductor, when the mosfet is turned off, the current that was flowing through the motor wants to continue to flow. if the fan does not have internal clamp diodes around the windings of the motor, there is no path for this current to flow through and the voltage at the drain of the mosfet may rise until the drain to source rating of the mosfet is exceeded. this will most likely cause the mosfet to go into avalanche mode. since there is very little energy in this occurrence, it will probably not fail the device, but it would be a long term reliability issue. the following is recommended: ? ask how the fan is designed. if the fan has clamp diodes internally, you will not experience this problem. if the fan does not have internal clamp diodes, it is a good idea to put one externally (figure 7-8). you can also put a resistor between v out and the gate of the mosfet, which will help slow down the turn-off and limit this condition. figure 7-7: output drive device configurations. table 7-2: fan drive device selection table (note 2) device package max vbe sat / vgs(v) min hfe vce/v ds fan current (ma) suggested rbase (ohms) mmbt2222a sot-23 1.2 50 40 150 800 mps2222a to-92 1.2 50 40 150 800 mps6602 to-92 1.2 50 40 500 301 si2302 sot-23 2.5 na 20 500 note 1 mgsf1n02e sot-23 2.5 na 20 500 note 1 si4410 so-8 4.5 na 30 1000 note 1 si2308 sot-23 4.5 na 60 500 note 1 note 1: a series gate resistor may be used in order to control the mosfet turn-on and turn-off times. 2: these drive devices are suggestions only. fan currents listed are for individual fans. q 1 gnd v dd r sense r base v out fan a) single bipolar transistor q 1 gnd v dd r sense v out b) n-channel mosfet fan
TC664/tc665 ds21737a-page 26 ? 2002 microchip technology inc. figure 7-8: clamp diode for fan turn- off. 7.6 bias supply bypassing and noise filtering the bias supply (v dd ) for the TC664/tc665 devices should be bypassed with a 1 f ceramic capacitor. this capacitor will help supply the peak currents that are required to drive the base/gate of the external fan drive devices. as the v in pin controls the duty cycle in a linear fashion, any noise on this pin can cause duty cycle jittering. for this reason, the v in pin should be bypassed with a 0.01 f capacitor. in order to keep fan noise off of the TC664/tc665 device ground, individual ground returns for the TC664/ tc665 and the low side of the fan current sense resis- tor should be used. 7.7 determining current pulses per revolution of fans there are many different fan designs available in the marketplace today. the motor designs can vary and, along with it, the number of current pulses in one fan revolution. in order to correctly measure and commu- nicate the fan speed, the TC664/tc665 devices must be programmed for the proper number of fan current pulses per revolution. this is done by setting the fppr bit in the configuration register to the proper values (see section 6.3 for settings). a fan's current pulses per revolution can be determined in the following manner. the first piece of information required is the fan's full speed rpm rating. the fan rpm rating can then be converted to give the time for one revolution using the following equation: equation the fan current can now be monitored over this time period. the number of pulses occurring in this time period is the fan's "current pulses per rotation" rating which is needed in order to accurately read fan rpm. example: the full speed fan rpm rating is 8200 rpm. from this, the time for one fan revolution is calculated to be 7.3 msec, using the previously discussed equa- tion. using a current probe, the fan current can be mon- itored as the fan is operating at full speed. figure 7-9 shows the fan current pulses for this example. the 7.44 msec window, marked by the cursors, is very near the 7.3 msec calculated above and is within the toler- ance of the fan ratings. four current pulses occur within this 7.44 msec time frame. given this information, fppr (bits 2-1<01>) in the configuration register should be set to ' 10 ' to indicate 4 current pulses per revolution. figure 7-9: four current pulses per revolution fan. 7.8 how to eliminate false current pulse sensing during the pwm mode of operation, some fans will generate an extra current pulse. this pulse occurs when the external drive device is turned on and is, in most cases, caused by the fan's electronics that control the fan motor. this pulse does not represent true fan current and needs to be blanked out. this is particularly important for detecting a fan in a locked rotor condition. q 1 gnd r sense v out q 1 - n-channel mosfet fan time for one revolution (msec.) 60 1000 fan rpm ----------------------- - =
? 2002 microchip technology inc. ds21737a-page 27 TC664/tc665 figure 7-10 shows the voltage pulse at the sense pin, which is caused by the fan's "extra" current pulse during pwm output turn-on. figure 7-10: extra pulse at sense pin. this problem occurs mainly with fans that have a cur- rent waveshape like the one shown in figure 7-9. for configurations where an npn transistor is being used as the external drive device, the typical rsense and c sense scheme can continue to be used to sense the fan current pulses. in order to eliminate the extra cur- rent pulse, a slow down capacitor can be placed from the base of the transistor to ground. a 0.1 f capacitor is appropriate in most cases. this arrangement is shown in figure 7-11. this capacitor will help to slow down the turn-on edge of the transistor and reduce the amplitude of the extra current pulse. for configurations using an n-channel mosfet as the drive device, the slow down capacitor does not fix all conditions and the current sensing scheme must be changed. since the current for this type of fan always returns to zero, the coupling capacitor, c sense , is not needed. instead, it will be replaced by an r-c configu- ration to eliminate the voltage pulse generated by the extra current pulse. this new sensing configuration is shown in figure 7-12. the values of the resistor/capac- itor combination should be adjusted so that the voltage pulse generated by the extra current pulse is smoothed and is not registered by the TC664/tc665 as a true fan current pulse. typical values for r slow and c slow are 1 k ? and 1000 pf, respectively. figure 7-11: transistor drive with c slow capacitor. figure 7-12: fet drive with r slow / c slow sense scheme. sense pin voltage "extra pulse" v out pwm c slow (0.1 f sense v out fan r iso r sense c sense TC664 tc665 gnd (0.1 f typical) typical) c slow (1000 pf sense v out fan r slow r sense TC664 tc665 gnd typical) (1 k ? typical)
TC664/tc665 ds21737a-page 28 ? 2002 microchip technology inc. 8.0 packaging information 8.1 package marking information * standard device marking consists of microchip part number, year code, week code, and traceability code. 10-pin msop device legend: 1 part number and temperature range 2 part number and temperature range 3 year and work week 4 lot id note : in the event the full microchip part number cannot be marked on one line, it will be carried over to the next line thus limiting the number of available characters for customer specific information. 1 2 3 4 5 6 7 8 9 10 TC664e ywwnnn tc665e
? 2002 microchip technology inc. ds21737a-page 29 TC664/tc665 8.2 taping form 8.3 package information pin 1 component taping orientation for 10-pin msop devices w user direction of feed standard reel component orientation for tr suffix device p carrier tape, number of components per reel and reel size: package carrier width (w) pitch (p) part per full reel reel size 10-pin msop 12 mm 8 mm 2500 13 in. 10-pin msop .009 (0.23) .005 (0.13) .028 (0.70) .016 (0.40) .122 (3.10) .114 (2.90) .201 (5.10) .183 (4.65) .012 (0.30) .006 (0.15) pin 1 .006 (0.15) .002 (0.05) .020 (0.50) .122 (3.10) .114 (2.90) .043 (1.10) max. 6 max. dimensions: inches (mm)
TC664/tc665 ds21737a-page 30 ? 2002 microchip technology inc. notes:
? 2002 microchip technology inc. ds21737a-page 31 TC664/tc665 systems information and upgrade hot line the systems information and upgrade line provides system users a listing of the latest versions of all of microchip's development systems software products. plus, this line provides information on how customers can receive any currently available upgrade kits.the hot line numbers are: 1-800-755-2345 for u.s. and most of canada, and 1-480-792-7302 for the rest of the world. on-line support microchip provides on-line support on the microchip world wide web (www) site. the web site is used by microchip as a means to make files and information easily available to customers. to view the site, the user must have access to the internet and a web browser, such as netscape or microsoft explorer. files are also available for ftp download from our ftp site. connecting to the microchip internet web site the microchip web site is available by using your favorite internet browser to attach to: www.microchip.com the file transfer site is available by using an ftp ser- vice to connect to: ftp://ftp.microchip.com the web site and file transfer site provide a variety of services. users may download files for the latest development tools, data sheets, application notes, user's guides, articles and sample programs. a vari- ety of microchip specific business information is also available, including listings of microchip sales offices, distributors and factory representatives. other data available for consideration is: ? latest microchip press releases ? technical support section with frequently asked questions ? design tips ? device errata ? job postings ? microchip consultant program member listing ? links to other useful web sites related to microchip products ? conferences for products, development systems, technical information and more ? listing of seminars and events 013001
TC664/tc665 ds21737a-page 32 ? 2002 microchip technology inc. reader response it is our intention to provide you with the best documentation possible to ensure successful use of your microchip prod- uct. if you wish to provide your comments on organization, clarity, subject matter, and ways in which our documentation can better serve you, please fax your comments to the technical publications manager at (480) 792-4150. please list the following information, and use this outline to provide us with your comments about this data sheet. 1. what are the best features of this document? 2. how does this document meet your hardware and software development needs? 3. do you find the organization of this data sheet easy to follow? if not, why? 4. what additions to the data sheet do you think would enhance the structure and subject? 5. what deletions from the data sheet could be made without affecting the overall usefulness? 6. is there any incorrect or misleading information (what and where)? 7. how would you improve this document? 8. how would you improve our software, systems, and silicon products? to : technical publications manager re: reader response total pages sent from: name company address city / state / zip / country telephone: (_______) _________ - _________ application (optional): would you like a reply? y n device: literature number: questions: fax: (______) _________ - _________ ds21737a TC664/tc665
? 2002 microchip technology inc. ds21737a-page33 TC664/tc665 product identification system to order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office. sales and support data sheets products supported by a preliminary data sheet may have an errata sheet describing minor operational differences and recom- mended workarounds. to determine if an errata sheet exists for a particular device, please contact one of the following: 1. your local microchip sales office 2. the microchip corporate literature center u.s. fax: (480) 792-7277 3. the microchip worldwide site (www.microchip.com) please specify which device, revision of silicon and data sheet (include literature #) you are using. new customer notification system register on our web site (www.microchip.com/cn) to receive the most current information on our products. part no. x /xx package temperature range device device: TC664: pwm fan speed controller w/fault detection TC664t: pwm fan speed controller w/fault detection (tape and reel) tc665: pwm fan speed controller w/fault detection tc665t: pwm fan speed controller w/fault detection (tape and reel) temperature range: e = -40 c to +85 c package: un = plastic micro small outline (msop), 10-lead examples: a) TC664eun: pwm fan speed controller w/ fault detection b) TC664euntr: pwm fan speed controller w/fault detection (tape and reel) c) tc665eun: pwm fan speed controller w/ fault detection d) tc665euntr: pwm fan speed controller w/fault detection (tape and reel)
TC664/tc665 ds21737a-page 34 ? 2002 microchip technology inc. notes:
? 2002 microchip technology inc. ds21737a - page 35 information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded by updates. it is your responsibility to ensure that your application meets with your specifications. no representation or warranty is given and no liability is assumed by microchip technology incorporated with respect to the accuracy or use of such information, or infringement of patents or other intellectual property rights arising from such use or otherwise. use of microchip?s products as critical com- ponents in life support systems is not authorized except with express written approval by microchip. no licenses are con- veyed, implicitly or otherwise, under any intellectual property rights. trademarks the microchip name and logo, the microchip logo, filterlab, k ee l oq , microid, mplab, pic, picmicro, picmaster, picstart, pro mate, seeval and the embedded control solutions company are registered trademarks of microchip tech- nology incorporated in the u.s.a. and other countries. dspic, economonitor, fansense, flexrom, fuzzylab, in-circuit serial programming, icsp, icepic, microport, migratable memory, mpasm, mplib, mplink, mpsim, mxdev, mxlab, picc, picdem, picdem.net, rfpic, select mode and total endurance are trademarks of microchip technology incorporated in the u.s.a. serialized quick turn programming (sqtp) is a service mark of microchip technology incorporated in the u.s.a. all other trademarks mentioned herein are property of their respective companies. ? 2002, microchip technology incorporated, printed in the u.s.a., all rights reserved. printed on recycled paper. microchip received qs-9000 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in chandler and tempe, arizona in july 1999 and mountain view, california in march 2002. the company?s quality system processes and procedures are qs-9000 compliant for its picmicro ? 8-bit mcus, k ee l oq ? code hopping devices, serial eeproms, microperipherals, non-volatile memory and analog products. in addition, microchip?s quality system for the design and manufacture of development systems is iso 9001 certified.
ds21737a-page 36 ? 2002 microchip technology inc. m americas corporate office 2355 west chandler blvd. chandler, az 85224-6199 tel: 480-792-7200 fax: 480-792-7277 technical support: 480-792-7627 web address: http://www.microchip.com rocky mountain 2355 west chandler blvd. chandler, az 85224-6199 tel: 480-792-7966 fax: 480-792-4338 atlanta 500 sugar mill road, suite 200b atlanta, ga 30350 tel: 770-640-0034 fax: 770-640-0307 boston 2 lan drive, suite 120 westford, ma 01886 tel: 978-692-3848 fax: 978-692-3821 chicago 333 pierce road, suite 180 itasca, il 60143 tel: 630-285-0071 fax: 630-285-0075 dallas 4570 westgrove drive, suite 160 addison, tx 75001 tel: 972-818-7423 fax: 972-818-2924 detroit tri-atria office building 32255 northwestern highway, suite 190 farmington hills, mi 48334 tel: 248-538-2250 fax: 248-538-2260 kokomo 2767 s. albright road kokomo, indiana 46902 tel: 765-864-8360 fax: 765-864-8387 los angeles 18201 von karman, suite 1090 irvine, ca 92612 tel: 949-263-1888 fax: 949-263-1338 new york 150 motor parkway, suite 202 hauppauge, ny 11788 tel: 631-273-5305 fax: 631-273-5335 san jose microchip technology inc. 2107 north first street, suite 590 san jose, ca 95131 tel: 408-436-7950 fax: 408-436-7955 toronto 6285 northam drive, suite 108 mississauga, ontario l4v 1x5, canada tel: 905-673-0699 fax: 905-673-6509 asia/pacific australia microchip technology australia pty ltd suite 22, 41 rawson street epping 2121, nsw australia tel: 61-2-9868-6733 fax: 61-2-9868-6755 china - beijing microchip technology consulting (shanghai) co., ltd., beijing liaison office unit 915 bei hai wan tai bldg. no. 6 chaoyangmen beidajie beijing, 100027, no. china tel: 86-10-85282100 fax: 86-10-85282104 china - chengdu microchip technology consulting (shanghai) co., ltd., chengdu liaison office rm. 2401, 24th floor, ming xing financial tower no. 88 tidu street chengdu 610016, china tel: 86-28-86766200 fax: 86-28-86766599 china - fuzhou microchip technology consulting (shanghai) co., ltd., fuzhou liaison office unit 28f, world trade plaza no. 71 wusi road fuzhou 350001, china tel: 86-591-7503506 fax: 86-591-7503521 china - shanghai microchip technology consulting (shanghai) co., ltd. room 701, bldg. b far east international plaza no. 317 xian xia road shanghai, 200051 tel: 86-21-6275-5700 fax: 86-21-6275-5060 china - shenzhen microchip technology consulting (shanghai) co., ltd., shenzhen liaison office rm. 1315, 13/f, shenzhen kerry centre, renminnan lu shenzhen 518001, china tel: 86-755-2350361 fax: 86-755-2366086 china - hong kong sar microchip technology hongkong ltd. unit 901-6, tower 2, metroplaza 223 hing fong road kwai fong, n.t., hong kong tel: 852-2401-1200 fax: 852-2401-3431 india microchip technology inc. india liaison office divyasree chambers 1 floor, wing a (a3/a4) no. 11, o?shaugnessey road bangalore, 560 025, india tel: 91-80-2290061 fax: 91-80-2290062 japan microchip technology japan k.k. benex s-1 6f 3-18-20, shinyokohama kohoku-ku, yokohama-shi kanagawa, 222-0033, japan tel: 81-45-471- 6166 fax: 81-45-471-6122 korea microchip technology korea 168-1, youngbo bldg. 3 floor samsung-dong, kangnam-ku seoul, korea 135-882 tel: 82-2-554-7200 fax: 82-2-558-5934 singapore microchip technology singapore pte ltd. 200 middle road #07-02 prime centre singapore, 188980 tel: 65-6334-8870 fax: 65-6334-8850 ta iw a n microchip technology (barbados) inc., taiwan branch 11f-3, no. 207 tung hua north road taipei, 105, taiwan tel: 886-2-2717-7175 fax: 886-2-2545-0139 europe denmark microchip technology nordic aps regus business centre lautrup hoj 1-3 ballerup dk-2750 denmark tel: 45 4420 9895 fax: 45 4420 9910 france microchip technology sarl parc d?activite du moulin de massy 43 rue du saule trapu batiment a - ler etage 91300 massy, france tel: 33-1-69-53-63-20 fax: 33-1-69-30-90-79 germany microchip technology gmbh gustav-heinemann ring 125 d-81739 munich, germany tel: 49-89-627-144 0 fax: 49-89-627-144-44 italy microchip technology srl centro direzionale colleoni palazzo taurus 1 v. le colleoni 1 20041 agrate brianza milan, italy tel: 39-039-65791-1 fax: 39-039-6899883 united kingdom microchip ltd. 505 eskdale road winnersh triangle wokingham berkshire, england rg41 5tu tel: 44 118 921 5869 fax: 44-118 921-5820 austria microchip technology austria gmbh durisolstrasse 2 a-4600 wels austria tel: 43-7242-2244-399 fax: 43-7242-2244-393 05/16/02 w orldwide s ales and s ervice


▲Up To Search▲   

 
Price & Availability of TC664

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X